//
//  CPSDemoXiaLaController.m
//  CollTest
//
//  Created by codew on 1/4/22.
//

#import "CPSDemoXiaLaController.h"
#import "HXPhotoBottomSelectView.h"
//#import "HXPhotoBottomViewModel.h"
@interface CPSDemoXiaLaController ()

@end

@implementation CPSDemoXiaLaController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    

    
//    if (!self.models.count) {
//        [self.view hx_showImageHUDText:@"暂无选项"];
//        return;
//    }
    
//    NSMutableArray * dataAM = [NSMutableArray array];
//    for (int i = 0; i < 10; i++) {
//        
//        HXPhotoBottomViewModel *model = [[HXPhotoBottomViewModel alloc] init];
//        model.title = [NSString stringWithFormat:@"选项%ld", i + 1];
//        [dataAM addObject:model];
//    }
//    
//    
//    DggWEAKSELF(weakSelf);
//    UILabel *titleLb = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, 40)];
//    titleLb.backgroundColor = [UIColor whiteColor];
//    titleLb.text = @"此处为tableViewHeaderView";
//    titleLb.textColor = [UIColor lightGrayColor];
//    titleLb.textAlignment = NSTextAlignmentCenter;
//    titleLb.font = [UIFont systemFontOfSize:14];
//    UIView *lineView = [[UIView alloc] initWithFrame:CGRectMake(0, 39.5, titleLb.hx_w, 0.5)];
//    lineView.backgroundColor = [UIColor colorWithRed:0.93 green:0.93 blue:0.93 alpha:1];
//    [titleLb addSubview:lineView];
//    [HXPhotoBottomSelectView showSelectViewWithModels:dataAM
//                                           headerView:titleLb
//                                      showTopLineView:YES
//                                          cancelTitle:nil
//                                     selectCompletion:^(NSInteger index, HXPhotoBottomViewModel * _Nonnull model){
//        
//        
//        
//    }
//                                          cancelClick:^{
//        
//    }];
}

@end
